package actions;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import javax.swing.Icon;

import backend.ThemeManager;

public class ToolBarAction extends MouseAdapter implements ActionListener
{
	protected ThemeManager controller;
	
	public ToolBarAction(String text, ThemeManager controller)
	{
		//super(text);
		this.controller = controller;
	}

	public ToolBarAction(String text, Icon icon, String description,
						 char accelerator)
	{
		/*
		super(text, icon);
		putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(accelerator, Toolkit
				.getDefaultToolkit().getMenuShortcutKeyMask()));
		putValue(SHORT_DESCRIPTION, description);
		*/
	}

	public void actionPerformed(ActionEvent e)
	{
	}
	
	public void mouseClicked(MouseEvent e)
	{
		actionPerformed(null);
	}

}
